# Contributor: Philipp Glaum <p@pglaum.de>
# Maintainer: Philipp Glaum <p@pglaum.de>
pkgname=mnamer
_pkgname=mnamer
pkgver=2.5.4
pkgrel=2
pkgdesc="media file organiser"
options="!check" # No testsuite
url="https://pypi.org/project/mnamer/"
arch="noarch"
license="MIT"
depends="python3 py3-appdirs py3-guessit py3-requests py3-requests-cache py3-teletype"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
cae752c93409e4d10ef00e4516590021238ea2da16ed3cfc1942eb44bca8f4c87ac8fc6a22c64145d2378f50acf0ba23e6bf7200ad25b619e0438ab59bf61032  mnamer-2.5.4.tar.gz
"
